const router = require('koa-router')();

router.prefix('/api/user');

router.get('/', function (ctx) {
  ctx.success('测试');
});

router.get('/bar', function (ctx) {
  ctx.body = {code: 0,msg: 'bar页面'};
});

module.exports = router;
